#!/sbin/openrc-run

description="IfState"

depend() {
	need localmount
	after bootmisc hwdrivers modules
	provide net
	keyword -shutdown -stop -jail -prefix -vserver -docker
}

start() {
	ebegin "Starting IfState"
	ifstatecli apply
}

restart() {
	ebegin "Restarting IfState"
	ifstatecli apply
}

status() {
	ifstatecli check
}
